cmake_minimum_required(VERSION 3.0.2)
project(turtlesim_log)

message("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaa")

find_package(catkin REQUIRED COMPONENTS
  geometry_msgs
  roscpp
  rospy
  std_msgs
  turtlesim
)


## add_message_files
## add_service_files
## add_action_files


################################################
## Declare ROS dynamic reconfigure parameters ##
################################################


###################################
## catkin specific configuration ##
###################################

catkin_package(
#  INCLUDE_DIRS include
#  LIBRARIES learning_topic
   CATKIN_DEPENDS geometry_msgs roscpp rospy std_msgs turtlesim
#  DEPENDS system_lib
)


###########
## Build ##
###########

include_directories(
# include
  ${catkin_INCLUDE_DIRS}
)

## 声明C++库
## CMake函数 add_library()指定用于编译的库文件，默认情况下，catkin编译共享库。
## Declare a C++ library
# add_library(${PROJECT_NAME}
#   src/${PROJECT_NAME}/learning_topic.cpp
# )



add_executable(turtlesim_log src/turtlesim_log.cpp)
target_link_libraries(turtlesim_log ${catkin_LIBRARIES})


#############
## Install ##
#############



#############
## Testing ##
#############

